
module Spree
  StoreHelper.class_eval do

    def brand_root_taxon
      Spree::Taxonomy.find_by(name: "设计品牌").try(:root)
    end

    def theme_root_taxon
      Spree::Taxonomy.find_by(name: "场景搭配").try(:root)
    end

    def type_root_taxon
      Spree::Taxonomy.find_by(name: "单品分类").try(:root)
    end
  end
end